package mhl.domain;

/**
 * @author DCSGO
 * @version 1.0
 * 这是一个 Javabean 与 employee 表关联
 */
/*
CREATE TABLE employee(
		id INT PRIMARY KEY,
		`name` VARCHAR(32) NOT NULL DEFAULT ' ',
		pwd CHAR(32) NOT NULL DEFAULT ' ',
		job VARCHAR(32) NOT NULL DEFAULT ' ');
 */
public class Employee {
    private Integer id;
    private String name;
    private String pwd;
    private String job;

    public Employee() {
    }

    public Employee(Integer id, String name, String pwd, String job) {
        this.id = id;
        this.name = name;
        this.pwd = pwd;
        this.job = job;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }
}
